
# 定义一个模型类
class Model:
    def __init__(self,v,W,w) -> None: #None 指汉书返回的类型
        self.v = v
        self.W = W
        self.w = w
        self.n = len(self.v)

class solModel:
    def __init__(self,V1,W1,V0,W0,Violation,z,IsFeasible) -> None:
        self.V1 = V1
        self.W1 = W1
        self.V0 = V0
        self.W0 = W0
        self.Violation = Violation
        self.z = z;
        self.IsFeasible = IsFeasible